package com.sumainfor.wx.tenant.service;

import com.sumainfor.common.util.JsonResult;

import java.util.Map;

/**
 * 微信授权登录
 */
public interface WechatService {

    public Map<String,Object> isBind(Map<String,Object> params) throws  Exception;

    JsonResult getLocalToken(String url);

    public Integer getCountPhone(Map<String, Object> params);

    public Integer getCountPhone1(Map<String, Object> params);

    public Map<String,Object> addusr(Map<String, Object> params);

    public Map<String,Object> getUsr(Map<String, Object> params);

    public JsonResult updateUsrNameorUimg(Map<String, Object> params);

    JsonResult updateTenPhoneByTenId(Map<String, Object> params);

    JsonResult AstheOwner(Map<String,Object> params);

    Map<String,Object> getTenOpenId(Map<String,Object> params);
}
